package com.education.platform.dao;

import com.education.platform.common.dao.BaseDao;
import com.education.platform.dao.model.CourseCommentModel;
import org.springframework.stereotype.Repository;
import com.education.platform.dao.entity.CourseCommentDO;

import java.util.List;

/**
* describe: 课程评论
* @author : tomato
* @date: 2020-06-16 11:49:53.324
**/
@Repository
public interface CourseCommentDao extends BaseDao<CourseCommentDO> {

    /**
     * 获取评论
     * @param commentDO
     * @return
     */
    List<CourseCommentModel> getAuditComment(CourseCommentModel commentDO);

    /**
     * 修改用户评论的头像 昵称
     * @return
     */
    int updateCommentUserByUserId(CourseCommentDO commentDO);
}